package com.fbli.test.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("任务实体类")
public class Task {
    @ApiModelProperty("自增id")
    private Long id;

    private Long creatTime;

    private Long endTime;

    private Long iterProductId;
    @ApiModelProperty("任务名")
    private String name;

    private Long startTime;
    @ApiModelProperty("任务状态（0未开始，1进行中，2结束）")
    private Integer state;
    @ApiModelProperty("任务id")
    private String taskId;

    private Long projectId;

    private Long toolId;

    private List<Product> product;
}